package com.sanjishu.enterlab.electricity.sale.shiro.freemarker.tag;

public class HasPermissionTag extends PermissionTag {
    protected boolean showTagBody(String p) {
        String[] perms = p.split(",");
        for (String perm : perms) {
            if (isPermitted(perm.trim())) {
                return true;
            }
        }
        return false;
    }
}
